Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor initialization and classes #1388

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Refactor initialization and classes #1388

wants to merge 11 commits into from

Conversation

C0rn3j
Copy link
Collaborator

@C0rn3j C0rn3j commented Jan 12, 2025

The goals here are:

  • Get rid of t_bootstrap.py by turning its contents into a regular class object, currently it functions as a global object import of sorts
    • Instead we'll create a main() function in t_main.py to be able to pass it, to do so we'll have to get rid of doing everything in the top level of the module
  • Rework classes to be initialized without globals
  • If will permits, rework functions in the same fashion, otherwise just throw the top level ones under main() for now

Very early WIP stages, nothing runs yet, very ugly at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant